package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.MesEquipmentDTO;
import com.hunttown.mes.rpc.domain.query.MesEquipmentDTOQuery;

/**
 * created by wangjunfu on 2022-03-30 15:25:10
 */
public interface MesEquipmentRpcService {

    MesEquipmentDTO insert(MesEquipmentDTO mesEquipmentDTO);

    Boolean updateInfoById(MesEquipmentDTO mesEquipmentDTO);

    Boolean updateInfoByQuery(MesEquipmentDTOQuery mesEquipmentDTOQuery);

    MesEquipmentDTO selectById(Integer id);

    MesEquipmentDTO selectObjByQuery(MesEquipmentDTOQuery mesEquipmentDTOQuery);

    Page<MesEquipmentDTO> getListForPage(MesEquipmentDTOQuery mesEquipmentDTOQuery);

    Boolean deleteById(Integer id);
}